tmpfiles = *.aux *.log *.toc *.fls *.nav *.out *.snm *.fdb_latexmk *.vrb *.gz *.bbl *.blg
FILE = main
TEMP = 0

xbxx:
	@make clean
	@xelatex ${FILE}
	@bibtex ${FILE}
	@xelatex ${FILE}
	@xelatex ${FILE}
ifeq ($(TEMP),KEEP)
else
	@make clean
endif

x:
	@xelatex ${FILE}

clean:
	@rm -rf $(tmpfiles)
